package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 
* </p>
*
* @author wsl
* @since 2022-04-24
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("t_customer")
@ApiModel(value = "TCustomer对象", description = "客户信息表")
public class TCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("客户编号")
    private String khno;

    @ApiModelProperty("客户姓名")
    private String name;

    @ApiModelProperty("客户所属地区")
    private String area;

    @ApiModelProperty("客户经理")
    private String cusManager;

    @ApiModelProperty("客户级别")
    private String level;

    @ApiModelProperty("客户满意度")
    private String myd;

    @ApiModelProperty("客户信用度")
    private String xyd;

    @ApiModelProperty("客户地址")
    private String address;

    @ApiModelProperty("邮编")
    private String postCode;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("传真")
    private String fax;

    @ApiModelProperty("网址")
    private String webSite;

    @ApiModelProperty("营业执照注册号")
    private String yyzzzch;

    @ApiModelProperty("法人代表")
    private String fr;

    @ApiModelProperty("注册资金")
    private String zczj;

    @ApiModelProperty("年营业额")
    private String nyye;

    @ApiModelProperty("开户银行")
    private String khyh;

    @ApiModelProperty("开户账号")
    private String khzh;

    @ApiModelProperty("地税登记号")
    private String dsdjh;

    @ApiModelProperty("国税登记号")
    private String gsdjh;

    @ApiModelProperty("流失状态")
    private Integer state;

    @ApiModelProperty("有效状态")
    private Integer isValid;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateDate;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("流失原因")
    private String lossReason;
}
